﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EventStandsApp
{
    public class OrderLine
    {
        //fields
        private long orderNo;
        private int lineNo;
        private DateTime startLoan;
        private DateTime endLoan;
        private int productId;
        private String hasReturned;
        /*Constructor*/
        public OrderLine(long orderNo, int lineNo,DateTime start, DateTime end, int prodId, String hasRet)
        {
            this.orderNo = orderNo;
            this.lineNo = lineNo;
            startLoan = start;
            endLoan = end;
            productId = prodId;
            hasReturned = hasRet;
        }
        /*Getters and setters*/
        public int ProductId
        {
            get { return productId; }
        }
        public DateTime StartLoan
        { get { return startLoan; } }
        public DateTime EndLoan
        { get { return endLoan; } }
    }
}
